package com.example.junit5demo.service.impl;

import com.example.junit5demo.domain.User;
import com.example.junit5demo.service.ServiceC;
import org.springframework.stereotype.Service;

/**
 * @author alexhu
 */
@Service
public class ServiceCImpl implements ServiceC {

    @Override
    public User getUser(Integer userid) {
        User user = new User();
        user.setId(userid);
        user.setName("李四");
        return user;
    }
}
